+2001-12-12 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtktextlayout.c: Typo fixes
+ * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+ * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
+ gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+ * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
+2001-12-12 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtktextlayout.c: Typo fixes
+ * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+ * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
+ gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+ * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
+2001-12-12 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtktextlayout.c: Typo fixes
+ * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+ * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
+ gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+ * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
+2001-12-12 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtktextlayout.c: Typo fixes
+ * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+ * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
+ gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+ * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
+2001-12-12 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtktextlayout.c: Typo fixes
+ * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+ * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
+ gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+ * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
+2001-12-12 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtktextlayout.c: Typo fixes
+ * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+ * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
+ gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+ * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
+2001-12-12 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtktextlayout.c: Typo fixes
+ * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
+
+ * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
+ gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
+
+ * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
+
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
+2001-12-12 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/tmpl/gtklist.sgml: Markup fixes.
+
+ * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.
+
+ * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
+ GTK_STYLE_NUM_STYLECOLORS. (#66467)
+
2001-12-12 Havoc Pennington <hp@pobox.com>
* gtk/text_widget.sgml: add another example
@send_event: if %TRUE, and the new owner is different
from the current owner, the current owner
will be sent a SelectionClear event.
-@Returns: %TRUE if the selection owner was succesfully
+@Returns: %TRUE if the selection owner was successfully
changed to @owner, otherwise %FALSE.
<SECTION>
<FILE>gtkstyle</FILE>
<TITLE>GtkStyle</TITLE>
-GTK_STYLE_NUM_STYLECOLORS
GTK_STYLE_ATTACHED
GtkStyle
GtkStyleClass
<!-- ##### SECTION Long_Description ##### -->
<para>
-The GtkList widget is a container whose children are displayed
+The #GtkList widget is a container whose children are displayed
vertically in order, and can be selected.
The list has many selection modes, which are programmer selective and
Creates a new #GtkList.
</para>
-@Returns: the newly created #GtkList
+@Returns: the newly-created #GtkList
<!-- ##### FUNCTION gtk_list_insert_items ##### -->
<para>
-Inserts @items into the @list at the position @position. The @GList items
+Inserts @items into the @list at the position @position. The #GList items
must not be freed after.
</para>
@list: the list widget.
@scroll_type: the direction and length.
@position: the position if @scroll_type is #GTK_SCROLL_JUMP.
-@auto_start_selection: if #TRUE, gtk_list_start_selection is automatically
+@auto_start_selection: if %TRUE, gtk_list_start_selection() is automatically
carried out before extending the selection.
<!-- ##### FUNCTION gtk_list_end_selection ##### -->
<para>
-Ends the selection. Used with #gtk_list_extend_selection and
-#gtk_list_start_selection. Only in #GTK_SELECTION_EXTENDED.
+Ends the selection. Used with gtk_list_extend_selection() and
+gtk_list_start_selection(). Only in #GTK_SELECTION_EXTENDED mode.
</para>
-@list:
+@list: the list widget.
<!-- ##### FUNCTION gtk_list_select_all ##### -->
<!-- ##### FUNCTION gtk_list_toggle_add_mode ##### -->
<para>
Toggles between adding to the selection and beginning a new selection. Only
-in #GTK_SELECTION_EXTENDED. Useful with #gtk_list_extend_selection.
+in #GTK_SELECTION_EXTENDED. Useful with gtk_list_extend_selection().
</para>
@list: the list widget.
has been created by examining the
<StructField>plug_window</StructField> field of the
#GtkSocket structure. If this field is non-NULL,
-then the plug has been succesfully created inside
+then the plug has been successfully created inside
of the socket.
</para>
</para>
-<!-- ##### MACRO GTK_STYLE_NUM_STYLECOLORS ##### -->
-<para>
-The number of colors used in a style.
-</para>
-
-
<!-- ##### MACRO GTK_STYLE_ATTACHED ##### -->
<para>
*/
typedef struct _GtkWidget GtkWidget;
-/* This is used for having dynamic style changing stuff
- * fg, bg, light, dark, mid, text, base
- */
-#define GTK_STYLE_NUM_STYLECOLORS() (7 * 5)
-
#define GTK_STYLE_ATTACHED(style) (GTK_STYLE (style)->attach_count > 0)
struct _GtkStyle
*
* Check if there are any invalid regions in a #GtkTextLayout's buffer
*
- * Return value: #TRUE if any invalid regions were found
+ * Return value: %TRUE if any invalid regions were found
**/
gboolean
gtk_text_layout_is_valid (GtkTextLayout *layout)
* If you want to force an area of a window to be redrawn,
* use gdk_window_invalidate_rect() or gdk_window_invalidate_region().
* To cause the redraw to be done immediately, follow that call
- * with a call to gdk_window_procss_updates().
+ * with a call to gdk_window_process_updates().
*
* Return value: return from the event signal emission (%TRUE if the event was handled)
**/
* window was inside a #GtkWindow-derived widget which was in turn
* inside the toplevel #GtkWindow. While the second case may
* seem unlikely, it actually happens when a #GtkPlug is embedded
- * inside a #GtkSocket within the same application
+ * inside a #GtkSocket within the same application.
*
* To reliably find the toplevel #GtkWindow, use
* gtk_widget_get_toplevel() and check if the %TOPLEVEL flags
* is set on the result.
- *
- * <programlisting>
+ * <informalexample><programlisting>
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
* if (GTK_WIDGET_TOPLEVEL (toplevel))
* {
* [ Perform action on toplevel. ]
* }
- * </programlisting>
+ * </programlisting></informalexample>
*
- * Return value: the topmost ancestor of @widget, or @widget itself if there's no ancestor
+ * Return value: the topmost ancestor of @widget, or @widget itself if there's no ancestor.
**/
GtkWidget*
gtk_widget_get_toplevel (GtkWidget *widget)
* reading directions can be done. Generally, applications will
* let the default reading direction present, except for containers
* where the containers are arranged in an order that is explicitely
- * visual rather than logical (such as buttons for text justificiation).
+ * visual rather than logical (such as buttons for text justification).
*
* If the direction is set to %GTK_TEXT_DIR_NONE, then the value
* set by gtk_widget_set_default_direction() will be used.
* gtk_widget_get_default_direction:
*
* Obtains the current default reading direction. See
- * gtk_widget_set_direction().
+ * gtk_widget_set_default_direction().
*
* Return value: the current default direction.
**/
* @window: a #GtkWindow.
* @position: a position constraint.
*
- * Sets a position constaint for this window. If the old or new
- * constaint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
+ * Sets a position constraint for this window. If the old or new
+ * constraint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
* the window to be repositioned to satisfy the new constraint.
**/
void